projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9ccfae
)
package--ensure-init-file: widen before looking for "(package-initialize)"
author
Sam Steingold
<sds@gnu.org>
Tue, 14 Apr 2015 03:27:02 +0000
(23:27 -0400)
committer
Sam Steingold
<sds@gnu.org>
Tue, 14 Apr 2015 03:27:02 +0000
(23:27 -0400)
lisp/emacs-lisp/package.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/package.el
b/lisp/emacs-lisp/package.el
index f3333751606c57370cf9d3956dd611e3cde935cb..dd1c5dfc056c9d5ebfc78056385db36e35e17652 100644
(file)
--- a/
lisp/emacs-lisp/package.el
+++ b/
lisp/emacs-lisp/package.el
@@
-1782,6
+1782,7
@@
using `package-compute-transaction'."
(if buffer
(with-current-buffer buffer
(save-excursion
+ (widen)
(goto-char (point-min))
(search-forward "(package-initialize)" nil 'noerror)))
(with-temp-buffer